home *** CD-ROM | disk | FTP | other *** search
- Path: news.tu-chemnitz.de!news
- From: hfst@hrz.tu-chemnitz.de (Hans Steffani)
- Newsgroups: comp.dsp,comp.lang.c
- Subject: Re: C code .vs. Assembly code for Microcontrollers/DSPs ?
- Date: 26 Mar 96 20:51:26 GMT
- Organization: University of Technology Chemnitz, FRG
- Message-ID: <4j9lfh$o2l@narses.hrz.tu-chemnitz.de>
- References: <620174950wnr@dstrip.demon.co.uk>
- NNTP-Posting-Host: sisyphus.hrz.tu-chemnitz.de
-
- Steve Rencontre <Steve@dstrip.demon.co.uk> writes:
-
- >Oh yes it can!
-
- > ...
- > int var1, var2;
- > int *var1p = &var1;
- > var1p[-1] = 0;
- > ...
-
- Post this to comp.lang.c[.moderated] and you will be told that this
- leads to undefined behavior and something like that.
-
- h.f.s.
- --
- Hans Friedrich Steffani
- Institut fuer Elektrische Maschinen und Antriebe
- TU Chemnitz-Zwickau
- e-mail: hans.steffani@e-technik.tu-chemnitz.de
-